<template>
  <MyIcon :type="type" style="font-size: 18px" />
</template>
<script>
import { toRefs } from "vue";
import { createFromIconfontCN } from "@ant-design/icons-vue";

const MyIcon = createFromIconfontCN({
  scriptUrl: "//at.alicdn.com/t/c/font_4084356_fmsfrhmpp1r.js",
});
export default {
  components: {
    MyIcon,
  },
  setup(props) {
    const { type } = toRefs(props);

    return {
      type,
    };
  },
};
</script>
